Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for relative imports #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

symphorien
Copy link

write the content of the buffer to a file:

  • in ram with memfd_create if applicable
  • on disk if the configuration allows it

Inspired of #18

I only tested this on linux with memfd_create (added in linux 3.17). I added some try: except so that it should work on old linux, but it's not tested.
This adds a new dependency (pymemfd) but only on linux; I don't know how to encode it for pip. This is left as future work.
If you are interested in merging this PR, I'll spend some more time polishing this sort of "details".

write the content of the buffer to a file:
* in ram with memfd_create if applicable
* on disk if the configuration allows it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant